<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>	
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String contextPath = request.getContextPath();
%>  


<!-- //Wrapper -->
<div id="wrapper">

<!-- Contenter_Sub -->

<div id="container_sub">
<!-- Content_List -->
		
<div id="sub_page_bg1"></div>
<!-- Sub Page Background -->

<div id="content_list">
  <div class="title">
	
	<div class='sub_title'>
	  <li>프로포즈</li>
	  <li class='stitle'>조건에 맞는 이상형을 검색해드립니다.</li>
	</div>
    
    <div class='navig'>
		<li class='frst'><img src='../image/all/home_icon.png' align='absmiddle' width='13' height='13'> <a href='/wedding/main/index.do'>HOME</a></li>
		<li>회원서비스</li>
		<li>이상형검색</li>
	</div>
		
	<!-- sub_menu-->
	<ul class='sub_menu'>		
	  <ul class="sub_tab">
		<li><a class='rollover' href="<%=contextPath%>/propose/write.do">프로포즈</a></li>
		<li><a class='over' href="<%=contextPath%>/propose/search.do">이상형찾기</a></li>
		<li><a class='rollover' href="<%=contextPath %>/recommend/allList.do">회원현황</a></li>		
		<li><a class='rollover' href="<%=contextPath %>/eventBoard/list.do">파티&미팅</a></li>
		<li><a class='rollover' href="<%=contextPath %>/dcourseBoard/list.do">데이트코스</a></li>
	  </ul>
	 </ul>	
	 <div>
		<br>
		
	</div>

<div class="content_title">
	<h1><span>Search</span><br>Idle Type</h1>
	<p><br>━</p>
	<span class="content_title_s"><strong>search</strong></span>
</div>

<div class="great_date">
	<h2>이상형 검색</h2>
    <!-- 검색 조건 입력 -->
	<form:form action="search.do" commandName="proposeCommand">
	<form:errors element="div"/>
	<div class="tb_frm01 tb1_wrap">
<fieldset class="join_Fieldset">
	<legend class="hiddenL">구혼정보등록</legend>
	
		<div class="joinWrap">
			<div class="row">
					<label for="birth" class="joinLabel-1">출생년도</label>	
					<form:select path="birth">
					<form:option value="1950">1950 이전</form:option>
					<form:option value="1951">1951</form:option>
					<form:option value="1952">1952</form:option>
					<form:option value="1953">1953</form:option>
					<form:option value="1954">1954</form:option>
				</form:select>
				<form:errors path="birth"/>
			</div>
			<div class="row">
					<label for="sex" class="joinLabel-1">성별</label>	
					<form:radiobutton path="sex" label="남" value="1"/>
				<form:radiobutton path="sex" label="여" value="2"/>
				<form:errors path="sex"/>
			</div>
			<div class="row">
					<label for="region"  class="joinLabel-1">지역</label>
				<form:select path="region">
					<form:option value="1">서울</form:option>
					<form:option value="2">인천</form:option>
					<form:option value="3">대전</form:option>
					<form:option value="4">광주</form:option>
					<form:option value="5">대구</form:option>
					<form:option value="6">울산</form:option>
					<form:option value="7">부산</form:option>
					<form:option value="8">경기</form:option>
					<form:option value="9">강원</form:option>
					<form:option value="10">충북</form:option>
					<form:option value="11">충남</form:option>
					<form:option value="12">전북</form:option>
					<form:option value="13">전남</form:option>
					<form:option value="14">경북</form:option>
					<form:option value="15">경남</form:option>
					<form:option value="16">제주</form:option>
				</form:select>
				<form:errors path="region"/>
			</div>
			<div class="row">
					<label for="job" class="joinLabel-1">직업군</label><form:select path="job">
					<form:option value="1">공무원</form:option>
					<form:option value="2">회사원</form:option>
					<form:option value="3">전문직</form:option>
					<form:option value="4">자영업</form:option>
					<form:option value="5">기타</form:option>
				</form:select>
				<form:errors path="job"/>
			</div>
				<div class="row">
					<label for="exmarry" class="joinLabel-1">결혼경력</label>	
				<form:radiobutton path="exmarry" label="초혼" value="1"/>
				<form:radiobutton path="exmarry" label="재혼" value="2"/>
				<form:errors path="exmarry"/>
			</div>
	</div>
		
		<input type="submit" value="검색">
		<input type="button" value="<spring:message code="list.content.cancel"/>" onclick="location.href='main/index.do'">
	</fieldset>
	</div>

	</form:form>
	

 <div class="bo_fx">
     <ul class="btn_bo_user" style="float:right">  
      </ul>
 </div>

</div>

<!-- 페이징처리 -->
<table>
<c:if test="${count > 0}">
<nav class="pg_wrap">

	<span class="pg">
	${pagingHtml} </span>
	  
</nav>
</c:if>
</table>

		<!-- <div id="blank">&nbsp;</div> -->
		</div>
		<!-- //content_list -->

	</div>
	<!-- //contenter_sub -->

</div>
<!-- //wrapper -->

<hr>

